home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / Intelligent classes 1.0 / CIntelligentScrollPane.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  803 b   |  31 lines  |  [TEXT/KAHL]

  1. /****
  2.  * CIntelligentScrollPane.h
  3.  *
  4.  *    This class makes the ScrollPane a little more intelligent.
  5.  *
  6.  *    Copyright © 1993 Quipus, by Mårten Sörliden.  All rights reserved.
  7.  *
  8.  ****/
  9.  
  10. #define _H_CIntelligentScrollPane            /* Include this file only once */
  11.  
  12. #include <CScrollPane.h>
  13.  
  14.  
  15. struct CIntelligentScrollPane : CScrollPane {
  16.  
  17. /** Construction and destruction methods **/
  18.     void        IIntelligentScrollPane(CView *anEnclosure, CBureaucrat *aSupervisor,
  19.                             short aWidth, short aHeight,
  20.                             short aHEncl, short aVEncl,
  21.                             SizingOption aHSizing, SizingOption aVSizing,
  22.                             Boolean hasHoriz, Boolean hasVert, Boolean hasSizeBox);
  23.     void        Dispose(void);
  24.  
  25. /** Accessing methods **/
  26.     void        GetPreferedFrame(LongRect *theFrame);
  27.  
  28. /** Scroll bar maintenance methods **/
  29.     void        AdjustScrollMax(void);
  30. };
  31.